package com.kandinfo.base.security.domain;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.kandinfo.base.admin.domain.BaseDomain;

@Entity
@Table(name = "role_perm")
public class RolePermission extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "perm_id")
    private Long permId;
    @Column(name = "role_id")
    private Long roleId;

    public RolePermission() {
    }

    public Long getPermId() {
        return permId;
    }

    public void setPermId(Long permId) {
        this.permId = permId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

}
